package main

import (
	"github.com/astaxie/beego"
	"softwareEngineering/controllers"
	_ "softwareEngineering/models"
	_ "softwareEngineering/routers"
)

func main() {
	beego.InsertFilter("/admin", beego.BeforeRouter, controllers.FilterUser, true, false)
	beego.Run()
}
